//
//  UIImage+LxImage.h
//  LvXiMark
//
//  Created by charlicar on 16/5/12.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (LxImage)
//返回原始图片
+ (instancetype)imageWithOriginalImageName:(NSString *)imageName;
//返回纯色图片
+(instancetype)imageWithColor:(UIColor*)color size:(CGSize)size;
//获取带边框的圆形图片
+ (instancetype)imageWithMargin:(CGFloat)margin marginColor:(UIColor *)color image:(UIImage *)image;
//缩放图片
-(UIImage*)scaleToSize:(CGSize)size;


/**
 *  模糊化截图 模拟器下回很慢
 *
 *  @param blurRadius 模糊半径
 *  @param view       需要截图的View
 *
 *  @return 返回模糊截图的图片
 */
+(UIImage*)blurScreenShot:(CGFloat)blurRadius view:(UIView*)view;
@end
